package com.ztgf.pay.models.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 支付母订单SaveBO
 *
 * @author mxli
 * @Date 2020-07-30 12:13:03
 */
@Data
public class PaySaveBO implements Serializable {
    @ApiModelProperty(value = "付款方id", required = true)
    private Long paymentUserId;
    @ApiModelProperty(value = "银行名称", required = true)
    private String bankId;
    @ApiModelProperty(value = "银行id", required = true)
    private String bankName;
    @ApiModelProperty(value = "付款金额", required = true)
    private BigDecimal money;
    @ApiModelProperty(value = "子订单列表[{},{}] 属性说明：{paymentUserId:付款方id,bankId:银行id,bankName:银行名称," +
            "money:付款金额,businessOrderNo:业务订单号,businessOrderWaterNo:业务订单流水号,receiveUserId:收款方id," +
            "moneyUsage:资金用途,commodityMsg:商品信息," +
            "businessType:金额类型：0订单金额，1佣金、2店铺保证金、3年费、4采购申请平台砍价、5砍价手续费、6重复支付，7预售退款}")
    private String childOrderList;

    @ApiModelProperty(value = "业务标示: " +
            "余额支付：A00 普通订单支付,B00 收款方收款成功后，再冻结资金, B01 付款方解冻资金后，再支付给收款方；" +
            "网银支付： A00 入金并支付 B00 收款方收款成功后，再 冻结资金")
    private String trsFlag;

    @ApiModelProperty(value = "回调地址")
    private String notifyUrl;
    @ApiModelProperty(value = "页面回调地址")
    private String notifyPageUrl;
}